PREVIEW: We already know how to make a list and look at every single thing in that list using a loop.

But what if you want to only look at just one thing in the list? To do that you use an index.

  • Click Run and respond to the Ask prompt. Run the program again and try a different number.
  • After you try the example, click Ticket and type your answers below each question.
  • Click Submit and Next to start today's lesson!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)